package com.bjx.common.core.constant;

/**
 * @desc: 框架常量
 * @author: liushuai
 * @date: 2022/6/24 10:57
 */
public class FrameConst {
    /**
     * @desc: 请求响应码
     * @author: liushuai
     * @date: 2022/6/24 10:58
     */
    public static final Integer SUCCESS = 200;

    public static final Integer WARNING = 400;
    public static final Integer FAIL = 500;

    /**
     * @desc: 权限不足
     * @author: liushuai
     * @date: 2022/7/7 17:24
     */
    public static final Integer PERMISSION_DENIED = 403;

    /**
     * @desc: 登录过期
     * @author: liushuai
     * @date: 2022/7/7 17:26
     */
    public static final Integer LOSE_PAST = 401;


    /**
     * @desc: 是否
     * @author: liushuai
     * @date: 2022/7/7 15:27
     */
    public static final Integer YES = 1;
    public static final Integer NO = 2;

    public static final String STR_YES = "1";
    public static final String STR_NO = "2";

    /**
     * @desc: 默认密码
     * @author: liushuai
     * @date: 2022/10/9 17:26
     */
    public static final String DEFAULT_PASSWORD = "123456";

    /**
     * @desc: 树形结构根节点
     * @author: liushuai
     * @date: 2022/10/12 21:38
     */
    public static final String ROOT_ID_STR = "0";
    public static final Integer ROOT = 0;



}
